package cn.piggy.executor;

import okhttp3.Request;
import okhttp3.sse.EventSourceListener;

import java.io.IOException;

public interface IExecutor {
    String sync(Object object) throws InterruptedException, IOException;

    void async(Object object, EventSourceListener eventSourceListener) throws InterruptedException, IOException;
}
